<template>
  <div class="list">
    <div class="article_item" v-for="(i, ind) in infolist" :key="ind">
      <h3 class="van-ellipsis">
        {{ i.title }}
      </h3>
      <div class="img_box">
        <img
          v-for="item in i.cover.images"
          :key="item"
          :src="item"
          class="w100"
        />
      </div>
      <!---->
      <div class="info_box">
        <span>{{ i.aut_name }}</span>
        <span>{{ i.comm_count }}评论</span>
        <span>{[i.pubdate]}</span>
      </div>
    </div>
  </div>
</template>

<script>
import { mapState } from "vuex";
export default {
  data() {
    return {};
  },
  methods: {},
  components: {},
  computed: {
    ...mapState("list", ["infolist"]),
  },
  watch: {},
};
</script>

<style scoped lang="less"></style>
